package com.zyy.weather.service;

import com.zyy.weather.dto.XmlDTO;

import javax.xml.parsers.ParserConfigurationException;


public interface WeixinService {
    /**
     * 处理接收到的数据取出消息内容
     * @return
     */
    XmlDTO getMessage(String sMsg) throws ParserConfigurationException, Exception;

    /**
     * 得到回复
     * @param xmlDTO
     * @return
     */
    String getReply(XmlDTO xmlDTO);

    /**
     * 发送回复
     * @param reply
     * @return
     */
    String sendMessage(String reply);
}
